package com.yonyou.pmclouds.workstartreport.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yonyou.pmclouds.basecom.entity.SuperVO;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;

@Table(name = "pm_workstartcheck")
@Data
public class WorkStartCheckVO extends SuperVO {
    public static final String LOGO="logo";
    public static final String INSTRUCTION="instruction";
    public static final String QUALIFICATION="qualification";


    @Id
    private String pkCheck;//检查项主键
    private String pkWorkstartreport;//关联开工报告
    private String pkWorkqualitydetail;//关联检查项
    private Byte logo;//是否需要照片标识  0 没有数据  1有数据没图片  2有数据有图片
    private String instruction;//备注信息
    private Byte qualification;//是否具备资格 1具备 2 不具备 3 不适用
    private String creator;//创建者
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date creationtime;//创建时间
    private String modifier;//修改者
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date modifytime;//修改时间
    private String pkTenant;//租户主键
    private Byte[] datas;//测量数据
    private String checkcode;//排序

    @Transient
    private String[] pictures;//图片信息
    @Transient
    private String billType;//单据类型
    @Transient
    private String checkName;//检查项名字
    @Transient
    private  String description;//检查项描述
    @Transient
    private Boolean needPhoto;//是否需要拍摄图片
    @Transient
    private String picture_address;//图片地址
    @Transient
    private String qualificationName;//是否具备资格名称


}
